Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

allow to load sibling calls #312

Closed
wants to merge 3 commits into from
Closed

allow to load sibling calls #312

wants to merge 3 commits into from

Conversation

tmcgroul
Copy link
Contributor

No description provided.

@belopash
Copy link
Contributor

@tmcgroul is it "all extrinsic calls" or "calls with the same parent call"?

@tmcgroul
Copy link
Contributor Author

@belopash calls with the same parent

@belopash
Copy link
Contributor

belopash commented Jul 21, 2024

@tmcgroul maybe it is better to introduce "extrinsicSubcalls"? This could potentially cover more cases

@@ -219,6 +220,15 @@ export class Call {
this.#subcalls = calls
}

get siblings(): Call[] {
Copy link
Contributor

@belopash belopash Jul 21, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this new field looks a bit unnatural. You already can achieve the same by using call.parentCall.subcalls

@belopash belopash force-pushed the master branch 2 times, most recently from cc23118 to 1f6a573 Compare July 23, 2024 08:58
@tmcgroul
Copy link
Contributor Author

closing due to "some" open questions and revealing that the task isn't really necessary 🤷‍♂️

@tmcgroul tmcgroul closed this Jul 24, 2024
@tmcgroul tmcgroul deleted the call-siblings branch July 24, 2024 15:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants